<fieldset>
<legend>Editing product</legend>

<%= error_messages_for :product %>

<% form_for([:admin, @product]) do |f| %>
<%= render :partial => "form", :locals => { :f => f, :button_text => "Update"  }  %>
<% end %>

<%= link_to 'Show', admin_product_url(@product) %> |
<%= link_to 'Back', admin_products_path %>

</fieldset>